package com.ruoyi.yipaiju.service;

import java.util.List;
import com.ruoyi.yipaiju.domain.DiscountHouse;

/**
 * fo_discount_houseService接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface IDiscountHouseService 
{
    /**
     * 查询fo_discount_house
     * 
     * @param id fo_discount_house主键
     * @return fo_discount_house
     */
    public DiscountHouse selectDiscountHouseById(Long id);

    /**
     * 查询fo_discount_house列表
     * 
     * @param discountHouse fo_discount_house
     * @return fo_discount_house集合
     */
    public List<DiscountHouse> selectDiscountHouseList(DiscountHouse discountHouse);

    /**
     * 根据业务主键查询一条记录：fo_discount_house
     *
     * @param discountHouse fo_discount_house
     * @return fo_discount_house
     */
    public DiscountHouse selectOneDiscountHouse(DiscountHouse discountHouse);

    /**
     * 新增fo_discount_house
     * 
     * @param discountHouse fo_discount_house
     * @return 结果
     */
    public int insertDiscountHouse(DiscountHouse discountHouse);

    /**
     * 修改fo_discount_house
     * 
     * @param discountHouse fo_discount_house
     * @return 结果
     */
    public int updateDiscountHouse(DiscountHouse discountHouse);

    /**
     * 修改fo_discount_house
     *
     * @param discountHouse fo_discount_house
     * @param discountHouse fo_discount_house条件
     * @return 结果
     */
    public int updateDiscountHouseCondition(DiscountHouse discountHouse, DiscountHouse discountHouseCondition);

    /**
     * 批量删除fo_discount_house
     * 
     * @param ids 需要删除的fo_discount_house主键集合
     * @return 结果
     */
    public int deleteDiscountHouseByIds(Long[] ids);

    /**
     * 删除fo_discount_house信息
     * 
     * @param id fo_discount_house主键
     * @return 结果
     */
    public int deleteDiscountHouseById(Long id);

    /**
     * 条件删除fo_discount_house
     *
     * @param discountHouse fo_discount_house
     * @return 结果
     */
    public int deleteDiscountHouseByCondition(DiscountHouse discountHouse);
}
